function jieguo1(){
    var num1=document.getElementById("num1").value;
    var num2=document.getElementById("num2").value;
    var jieguo=parseInt(num1)+parseInt(num2);
    document.getElementById("jieguo").value=jieguo;
}
function jieguo2(){
    var num1=document.getElementById("num1").value;
    var num2=document.getElementById("num2").value;
    var jieguo=parseInt(num1)-parseInt(num2);
    document.getElementById("jieguo").value=jieguo;
}
function jieguo3(){
    var num1=document.getElementById("num1").value;
    var num2=document.getElementById("num2").value;
    var jieguo=parseInt(num1)*parseInt(num2);
    document.getElementById("jieguo").value=jieguo;
}
function jieguo4(){
    var num1=document.getElementById("num1").value;
    var num2=document.getElementById("num2").value;
    var jieguo=parseInt(num1)/parseInt(num2);
    document.getElementById("jieguo").value=jieguo;
}